package top.haijunit.work.modules.access.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import top.haijunit.work.modules.core.BaseEntity;

/**
 * 授权权限表
 * access_ENTITY_PERMISSION
 */
@Data
@TableName(value ="access_entity_permission")
public class SubjectPermissionEntity extends BaseEntity {

    /**
     * 授权主体类型
     */
    private Integer entityType;

    /**
     * 授权主体编码
     */
    private Long entityCode;

    /**
     * 角色编码
     */
    private Long roleCode;

    /**
     * 授权资源
     */
    private String resourceKey;
}
